package cn.com.visionsky.bocsz.bda.webservice.permission;

import cn.com.visionsky.bocsz.bda.webservice.Constants;
import cn.com.visionsky.bocsz.bda.webservice.handler.cst_lbl_ast_query.FullTextRequest;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.ArrayList;
import java.util.List;

public class CstLblAstTags {
    private static final Logger logger = LoggerFactory.getLogger(CstLblAstTags.class);

    private FullTextRequest fullTextRequest;

    public CstLblAstTags(FullTextRequest fullTextRequest){
        this.fullTextRequest = fullTextRequest;
    }

    public List<String> discernRequestedField(){ //返回参数
        List<String> requestedFieldList = new ArrayList<String>();
        String ctfNo = fullTextRequest.getCtfNo();
        if(StringUtils.isNotBlank(ctfNo)){
             requestedFieldList.add(Constants.CST_LBL_AST_QUERY_MODULE_NEW_CTF_NO);
        }
        return requestedFieldList;
    }

}
